<template>
  <div class="app-container">
    <template>
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="设置岗位" name="first">
          <my-publish />
        </el-tab-pane>
        <!-- <el-tab-pane label="设置课程" name="second">
                    <my-course />
                </el-tab-pane> -->
        <el-tab-pane label="课程矩阵" name="three">
          <my-matrix />
        </el-tab-pane>
      </el-tabs>
    </template>
  </div>
</template>

<script>
import myPublish from "./components/publish.vue";
import myCourse from "./components/course.vue";
import myMatrix from "./components/matrix.vue";

export default {
  name: "trainMatrix",
  components: { myPublish, myCourse, myMatrix },
  data() {
    return {
      activeName: "first",
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style scoped lang="scss">
/deep/ .el-tabs__item {
  font-size: 16px;
}
/* treeselect */
.vue-treeselect__input {
  display: block;
}
/deep/ .vue-treeselect__control {
  height: 32px;
  line-height: 32px;
  margin-top: 3px;
}
.add-person /deep/ .el-dialog__body {
  min-height: 240px;
}
</style>